home *** CD-ROM | disk | FTP | other *** search
-
- // ───────────────────────────────────────────────────────────────────
- // The Aurora Editor v2.0
- // Copyright 1993-1995 nuText Systems. All Rights Reserved Worldwide.
- //
- // User's Guide Topics Menu
- //
- // This macro displays a popup menu of User's Guide topics. Selecting
- // a topic will display the User's Guide and position to cursor to the
- // selected topic.
- // ───────────────────────────────────────────────────────────────────
-
- // compile time macros and function definitions
- include bootpath "define.aml"
-
- // create an inline help topics buffer
- databuf "helpuser"
- "Bookmarks"
- "Border Options"
- "Character Sets"
- "Clipboard"
- "Colors"
- "Command Line Options"
- "Configuration"
- "Confirmation Options"
- "Creating and Loading Files"
- "Cursor Commands"
- "Default File Extensions"
- "Desktop Options"
- "Editing Options"
- "File Commands"
- "File Manager Commands"
- "File Manager Options"
- "File Manager Sorting"
- "File Manager"
- "File Name Completion"
- "Folds"
- "Getting Started"
- "Global Settings"
- "Installation"
- "Key Definitions"
- "Key Macros"
- "Macro Commands"
- "Marking Blocks"
- "Marking Files"
- "Menu Definitions"
- "Menus"
- "Modifying Text"
- "Mouse Definitions"
- "Mouse Options"
- "Multi-Key Definitions"
- "Open Options"
- "OS Shell Commands"
- "Panning the Screen"
- "Performance Tips"
- "Print Options"
- "Printing"
- "Prompt History"
- "Prompts"
- "Regular Expression Searching"
- "Save Options"
- "Saving and Discarding Files"
- "Scrolling"
- "Search and Replace"
- "Status Line"
- "Syntax Highlighting"
- "System Options"
- "System Requirements"
- "Tool Bar"
- "Translation Options"
- "Translation"
- "Undo and Redo"
- "Video Modes"
- "Video Options"
- "Window Options"
- "Window Settings"
- "Window Styles"
- "Windows"
- "Word Processing Options"
- end
-
- // name the buffer so the menu position can be remembered
- setbufname "helpuser"
-
- // display the buffer in a popup menu and get the topic selected
- topic = popup (getcurrbuf) "User's Guide Topics" 29
-
- // destroy the help topics buffer
- destroybuf
-
- // display the selected topic
- if topic then
- open (getbootpath + "DOC\\" +
- (if? topic [1:3] == "Reg" "REGEXP" "USER") + ".DOX")
- gotopos 1 1
- if find topic + ' ' then
- send "onfound" (sizeof topic)
- end
- end
-
-